import React, { Component } from 'react'
//封装公共header组件
export default class Header extends Component {
    render() {
        return (
            //当header中有自定义aa时添加act类
            <div className={this.props.aa==='lang'?'header act':'header'} >
                <div>{this.props.back}</div>
                <div>{this.props.title}</div>
                <div>{this.props.open}</div>
            </div>
        )
    }
}
